home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gekkan Dennou Club 147
/
Gekkan Dennou Club - 2000.8 Vol. 147 (Japan).7z
/
Gekkan Dennou Club - 2000.8 Vol. 147 (Japan) (Track 1).bin
/
games
/
ippon
/
source.lzh
/
effect.h
< prev
next >
Wrap
C/C++ Source or Header
|
2000-07-07
|
2KB
|
82 lines
/* effect.h */
typedef struct _effect {
signed short x, y; /* 座標 */
short pt; /* スプライトパターンNo. */
short info; /* 反転コード・色・優先度を表わすデータ */
short type; /* 種類 */
short type2; /* 種類その2 */
signed int lx, ly; /* 32bit X,Y 座標 ( l = longword ) */
signed int vx, vy; /* 速度 */
short seq; /* 現在の状態 */
short seq2;
short seq3;
short (*func_effect_move) (struct _effect *); /* 移動関数へのポインタ */
struct _effect *next; /* 次の構造体へのポインタ */
} EFFECT;
#ifdef GLOBAL_DEFINE /* グローバル変数の定義と宣言を1つにまとめるテク */
#define Extern /* Extern をヌル文字列に置換 */
#else
#define Extern extern /* Extern を extern に置換 */
#endif
Extern short obj_explall, obj_points;
Extern short points_table[4];
Extern int points_table2[];
enum {
EFFECT_EXPLZAKO = 0,
EFFECT_EXPL,
EFFECT_EXPLPLAYER,
EFFECT_POINTS,
};
enum {
POINTS_100 = 0,
POINTS_200,
POINTS_300,
POINTS_400,
POINTS_500,
POINTS_600,
POINTS_700,
POINTS_800,
POINTS_900,
POINTS_1000,
POINTS_1200,
POINTS_1500,
POINTS_1800,
POINTS_2000,
POINTS_2500,
POINTS_3000,
POINTS_4000,
POINTS_5000,
POINTS_6000,
POINTS_7000,
POINTS_8000,
POINTS_9000,
POINTS_10000,
POINTS_12000,
POINTS_15000,
POINTS_18000,
POINTS_20000,
POINTS_25000,
POINTS_28000,
POINTS_30000
};
/* 関数プロトタイプ宣言 */
void EffectInit (void);
void EffectAlloc (short, short, short, short);
void EffectMove (void);
/* 関数プロトタイプ宣言(FuncEffect/ 以下) */
void EffectAllocExplZako (EFFECT *);
void EffectAllocExpl (EFFECT *);
void EffectAllocExplPlayer (EFFECT *);
void EffectAllocPoints (EFFECT *);